package com.sojson.util.file.bean;

import com.sojson.base.impl.BaseUtilDto;

/**
 * DatabaseBean对象
 * 
 * @author liu
 * @date 2020-08-27
 */
public class FileBean extends BaseUtilDto {

    /***/
    private static final long serialVersionUID = 6594579945086294615L;
    /** 文件名 */
    private String name;
    /** 文件后缀 */
    private String suffix;
    /** 文件大小 */
    private long size;
    /** 图片文件的宽度 */
    private long width;
    /** 图片文件的高度 */
    private long height;

    public FileBean() {}

    public FileBean(String name, String suffix, long size) {
        this.name = name;
        this.suffix = suffix;
        this.size = size;
    }

    public FileBean(String name, String suffix, long size, long width, long height) {
        this.name = name;
        this.suffix = suffix;
        this.size = size;
        this.width = width;
        this.height = height;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public long getWidth() {
        return width;
    }

    public void setWidth(long width) {
        this.width = width;
    }

    public long getHeight() {
        return height;
    }

    public void setHeight(long height) {
        this.height = height;
    }

}